package com.myiam.idm.core.model;

public class Email {
	
	
	public Email() {}
	public Email (String email, EmailType type) {
		this.email=email;
		this.emailType=type;
		
	}
	
	private EmailType emailType;
	private String email;
	
	
	
	
	public EmailType getEmailType() {
		return emailType;
	}
	public void setEmailType(EmailType emailType) {
		this.emailType = emailType;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getEmailAsString() {
		return email;
	}
	
	public String getTypeAsString() {
		return emailType.toString();
	}

}
